import Vue from 'vue'

import { Header, Button, Swipe, SwipeItem ,Lazyload,Switch} from 'mint-ui';
import 'mint-ui/lib/style.css'
Vue.component(Header.name, Header);
Vue.component(Button.name, Button);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(Switch.name, Switch);
//Vue.component(Toast.name,Toast);
Vue.use(Lazyload);

import '../lib/mui/css/mui.min.css'
import '../lib/mui/css/icons-extra.css'
import '../lib/mui/fonts/mui-icons-extra.ttf'

import './filters.js'

import VuePreview from 'vue2-preview'
Vue.use(VuePreview)

import axios from 'axios'
Vue.prototype.$http = axios.create({
  baseURL: 'http://www.liulongbin.top:3005/'
})